package com.dongdongshop.controller;

import com.dongdongshop.service.ItemPageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("itemPage")
public class ItemPageController {

    @Autowired
    private ItemPageService itemPageService;

    @RequestMapping("createPage")
    @ResponseBody
    public String createPage(Long goodsId){
//        itemPageService.createPage(goodsId);
        return "ok";
    }

}
